.class public Lcom/estrongs/android/pop/esclasses/ESVideoController;
.super Lcom/estrongs/android/pop/esclasses/n;
.source "ESVideoController.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/esclasses/ESVideoController$b;,
        Lcom/estrongs/android/pop/esclasses/ESVideoController$c;
    }
.end annotation


# static fields
.field private static final S:[F

.field private static final T:[Ljava/lang/String;


# instance fields
.field private A:Landroid/widget/TextView;

.field private B:Landroid/widget/TextView;

.field private C:Landroid/widget/ImageView;

.field private D:Landroid/widget/ImageView;

.field private E:Landroid/widget/ImageView;

.field private F:Z

.field private G:Landroid/widget/ImageView;

.field private H:Landroid/widget/ImageView;

.field private I:Landroid/widget/ImageView;

.field private J:Landroid/widget/ImageView;

.field private K:Landroid/widget/LinearLayout;

.field private L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

.field private M:Ljava/lang/String;

.field private N:Ljava/lang/String;

.field private O:Ljava/lang/String;

.field private P:I

.field private Q:I

.field private R:Les/fj;

.field private u:Landroid/widget/RelativeLayout;

.field private v:Landroid/widget/FrameLayout;

.field private w:Landroid/view/View;

.field private x:Landroid/widget/SeekBar;

.field private y:Landroid/widget/TextView;

.field private z:Landroid/widget/TextView;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/4 v0, 0x6

    new-array v1, v0, [F

    .line 1
    fill-array-data v1, :array_0

    sput-object v1, Lcom/estrongs/android/pop/esclasses/ESVideoController;->S:[F

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "0.5X"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "0.75X"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "1.0X"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "1.25X"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "1.5X"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "2.0X"

    aput-object v2, v0, v1

    .line 2
    sput-object v0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->T:[Ljava/lang/String;

    return-void

    nop

    :array_0
    .array-data 4
        0x3f000000    # 0.5f
        0x3f400000    # 0.75f
        0x3f800000    # 1.0f
        0x3fa00000    # 1.25f
        0x3fc00000    # 1.5f
        0x40000000    # 2.0f
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/esclasses/n;-><init>(Landroid/content/Context;)V

    .line 2
    sget-object p1, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->a0:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    const/4 p1, 0x2

    .line 3
    iput p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 4
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/esclasses/n;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 5
    sget-object p1, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->a0:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    const/4 p1, 0x2

    .line 6
    iput p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 7
    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/android/pop/esclasses/n;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 8
    sget-object p1, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->a0:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    const/4 p1, 0x2

    .line 9
    iput p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/esclasses/ESVideoController;)Landroid/widget/SeekBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/esclasses/ESVideoController;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->F:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/esclasses/ESVideoController;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->z:Landroid/widget/TextView;

    return-object p0
.end method

.method private b(Ljava/lang/String;)V
    .locals 3

    .line 34
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "page"

    const-string v2, "media_player_page"

    .line 35
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "btn"

    const-string v2, "speed_confirm"

    .line 36
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "from"

    .line 37
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->O:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "speed"

    .line 38
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 39
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v1, "click"

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method private c(Z)V
    .locals 2

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->K:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->v:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0600e3

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->K:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->v:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    :goto_0
    return-void
.end method

.method private i()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->w:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->w:Landroid/view/View;

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/f;->b:Landroid/view/animation/Animation;

    invoke-virtual {v0, v2}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->u:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->u:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/f;->b:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method

.method private j()V
    .locals 3

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    .line 2
    iput-boolean v2, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    .line 3
    iput-boolean v2, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    .line 4
    iput-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/n;->o:Z

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    const v1, 0x7f0805dd

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    .line 7
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->a()V

    .line 8
    iput-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    .line 9
    iput-boolean v2, p0, Lcom/estrongs/android/pop/esclasses/n;->o:Z

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    const v1, 0x7f0805d2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 11
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    if-eqz v0, :cond_1

    .line 12
    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->b(Z)V

    :cond_1
    return-void
.end method

.method private k()V
    .locals 3

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x17

    if-lt v0, v1, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    sget-object v1, Lcom/estrongs/android/pop/esclasses/ESVideoController;->S:[F

    iget v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    aget v1, v1, v2

    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->a(F)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->B:Landroid/widget/TextView;

    sget-object v1, Lcom/estrongs/android/pop/esclasses/ESVideoController;->T:[Ljava/lang/String;

    iget v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method private l()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->u:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->u:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/f;->a:Landroid/view/animation/Animation;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->w:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->w:Landroid/view/View;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/f;->a:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method

.method private m()V
    .locals 6

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->v:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    iget v0, v0, Landroid/content/res/Configuration;->orientation:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    const/16 v0, 0x50

    const v2, 0x7f0c0245

    goto :goto_0

    :cond_0
    const v0, 0x800005

    const v2, 0x7f0c0246

    .line 2
    :goto_0
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->v:Landroid/widget/FrameLayout;

    invoke-virtual {v3}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3, v2}, Les/fj;->a(Landroid/content/Context;I)Les/fj;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    .line 3
    invoke-virtual {v2, v0}, Les/fj;->b(I)V

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    const/4 v2, 0x6

    invoke-direct {v0, v2}, Ljava/util/ArrayList;-><init>(I)V

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090af8

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090af9

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090afa

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 8
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090afb

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 9
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090afc

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    const v3, 0x7f090afd

    invoke-virtual {v2, v3}, Les/fj;->a(I)Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 11
    new-instance v2, Lcom/estrongs/android/pop/esclasses/b;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/esclasses/b;-><init>(Lcom/estrongs/android/pop/esclasses/ESVideoController;Ljava/util/List;)V

    const/4 v3, 0x0

    .line 12
    :goto_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_2

    .line 13
    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 14
    sget-object v5, Lcom/estrongs/android/pop/esclasses/ESVideoController;->T:[Ljava/lang/String;

    aget-object v5, v5, v3

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 15
    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 16
    iget v5, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    if-ne v3, v5, :cond_1

    .line 17
    invoke-virtual {v4, v1}, Landroid/widget/TextView;->setSelected(Z)V

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_2
    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 24
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    if-eqz v0, :cond_1

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 26
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    if-nez v0, :cond_0

    .line 27
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->i()V

    :cond_0
    const/4 v0, 0x0

    .line 28
    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    .line 29
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    :cond_1
    return-void
.end method

.method public a(I)V
    .locals 3

    .line 15
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    if-nez v0, :cond_1

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 17
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->f:Z

    if-nez v0, :cond_0

    .line 18
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->l()V

    :cond_0
    const/4 v0, 0x1

    .line 19
    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    .line 20
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->l:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    if-eqz p1, :cond_2

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->l:Ljava/lang/Runnable;

    int-to-long v1, p1

    invoke-virtual {p0, v0, v1, v2}, Landroid/widget/FrameLayout;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 22
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->M:Ljava/lang/String;

    .line 4
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->N:Ljava/lang/String;

    .line 5
    sget-boolean v0, Lcom/estrongs/android/pop/j;->a:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 6
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result v0

    if-nez v0, :cond_0

    .line 7
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->C1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->D:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->D:Landroid/widget/ImageView;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 10
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->A:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->N:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    invoke-virtual {p1, v1}, Landroid/widget/SeekBar;->setProgress(I)V

    return-void
.end method

.method public synthetic a(Ljava/util/List;Landroid/view/View;)V
    .locals 1

    .line 30
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    invoke-virtual {v0}, Les/fj;->a()V

    const/4 v0, 0x1

    .line 31
    invoke-virtual {p2, v0}, Landroid/view/View;->setSelected(Z)V

    .line 32
    invoke-interface {p1, p2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    .line 33
    iget p1, p0, Lcom/estrongs/android/pop/esclasses/f;->g:I

    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->a(I)V

    .line 34
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->k()V

    .line 35
    sget-object p1, Lcom/estrongs/android/pop/esclasses/ESVideoController;->T:[Ljava/lang/String;

    iget p2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->P:I

    aget-object p1, p1, p2

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->b(Ljava/lang/String;)V

    return-void
.end method

.method public a(Z)V
    .locals 2

    .line 12
    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    if-ne v0, v1, :cond_0

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->H:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    .line 14
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/esclasses/d;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/esclasses/d;-><init>(Lcom/estrongs/android/pop/esclasses/ESVideoController;Z)V

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z

    :goto_0
    return-void
.end method

.method protected b()V
    .locals 3

    .line 2
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/n;->b()V

    const v0, 0x7f0909c9

    .line 3
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->v:Landroid/widget/FrameLayout;

    const v0, 0x7f09018b

    .line 4
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->u:Landroid/widget/RelativeLayout;

    const v0, 0x7f090be3

    .line 5
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->w:Landroid/view/View;

    const v0, 0x7f090a50

    .line 6
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    .line 7
    new-instance v1, Lcom/estrongs/android/pop/esclasses/ESVideoController$c;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/estrongs/android/pop/esclasses/ESVideoController$c;-><init>(Lcom/estrongs/android/pop/esclasses/ESVideoController;Lcom/estrongs/android/pop/esclasses/ESVideoController$a;)V

    invoke-virtual {v0, v1}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    const v0, 0x7f090cc1

    .line 8
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->z:Landroid/widget/TextView;

    const v0, 0x7f090d17

    .line 9
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->y:Landroid/widget/TextView;

    const v0, 0x7f09026e

    .line 10
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->A:Landroid/widget/TextView;

    const v0, 0x7f0905cc

    .line 11
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    const v0, 0x7f0905c8

    .line 12
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->H:Landroid/widget/ImageView;

    const v0, 0x7f09026c

    .line 13
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->D:Landroid/widget/ImageView;

    const v0, 0x7f09026d

    .line 14
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->E:Landroid/widget/ImageView;

    const v0, 0x7f09026b

    .line 15
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->C:Landroid/widget/ImageView;

    const v0, 0x7f0905c6

    .line 16
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    const v0, 0x7f0905cf

    .line 17
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->J:Landroid/widget/ImageView;

    const v0, 0x7f090713

    .line 18
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->K:Landroid/widget/LinearLayout;

    .line 19
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->K:Landroid/widget/LinearLayout;

    const v0, 0x7f090b00

    .line 20
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->B:Landroid/widget/TextView;

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->C:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->E:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->D:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 24
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->H:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 26
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->I:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 27
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->J:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->K:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 29
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->B:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 30
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 31
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->E:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 32
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->H:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    return-void
.end method

.method public synthetic b(Z)V
    .locals 1

    .line 33
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->H:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setEnabled(Z)V

    return-void
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 4

    .line 1
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    .line 2
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    const/4 v2, 0x1

    if-nez v1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v1

    if-nez v1, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    const/16 v3, 0x4f

    if-eq v0, v3, :cond_c

    const/16 v3, 0x55

    if-eq v0, v3, :cond_c

    const/16 v3, 0x3e

    if-ne v0, v3, :cond_1

    goto :goto_4

    :cond_1
    const/16 v3, 0x7e

    if-ne v0, v3, :cond_3

    if-eqz v1, :cond_2

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    if-eqz p1, :cond_2

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result p1

    if-nez p1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->start()V

    .line 6
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    :cond_2
    return v2

    :cond_3
    const/16 v3, 0x56

    if-eq v0, v3, :cond_a

    const/16 v3, 0x7f

    if-ne v0, v3, :cond_4

    goto :goto_3

    :cond_4
    const/16 v3, 0x19

    if-eq v0, v3, :cond_9

    const/16 v3, 0x18

    if-eq v0, v3, :cond_9

    const/16 v3, 0xa4

    if-eq v0, v3, :cond_9

    const/16 v3, 0x1b

    if-ne v0, v3, :cond_5

    goto :goto_2

    :cond_5
    const/4 v3, 0x4

    if-eq v0, v3, :cond_7

    const/16 v3, 0x52

    if-ne v0, v3, :cond_6

    goto :goto_1

    .line 7
    :cond_6
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    .line 8
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1

    :cond_7
    :goto_1
    if-eqz v1, :cond_8

    .line 9
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->a()V

    :cond_8
    return v2

    .line 10
    :cond_9
    :goto_2
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1

    :cond_a
    :goto_3
    if-eqz v1, :cond_b

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    if-eqz p1, :cond_b

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result p1

    if-eqz p1, :cond_b

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->pause()V

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    :cond_b
    return v2

    :cond_c
    :goto_4
    if-eqz v1, :cond_d

    .line 14
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/n;->g()V

    .line 15
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    if-eqz p1, :cond_d

    .line 17
    invoke-virtual {p1}, Landroid/widget/ImageView;->requestFocus()Z

    :cond_d
    return v2
.end method

.method protected e()I
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    const/4 v1, 0x0

    if-eqz v0, :cond_7

    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->F:Z

    if-eqz v0, :cond_0

    goto :goto_1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->A:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->N:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->A:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->N:Ljava/lang/String;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->getCurrentPosition()I

    move-result v0

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v2}, Landroid/widget/MediaController$MediaPlayerControl;->getDuration()I

    move-result v2

    .line 6
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    if-eqz v3, :cond_3

    if-lez v2, :cond_2

    const/4 v1, 0x1

    .line 7
    invoke-virtual {v3, v1}, Landroid/widget/SeekBar;->setEnabled(Z)V

    int-to-double v3, v0

    const-wide/high16 v5, 0x3ff0000000000000L    # 1.0

    .line 8
    invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v3, v3, v5

    int-to-double v5, v2

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v3, v5

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    invoke-virtual {v1}, Landroid/widget/SeekBar;->getMax()I

    move-result v1

    int-to-double v5, v1

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v3, v3, v5

    double-to-int v1, v3

    .line 9
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    invoke-virtual {v3, v1}, Landroid/widget/SeekBar;->setProgress(I)V

    goto :goto_0

    .line 10
    :cond_2
    invoke-virtual {v3, v1}, Landroid/widget/SeekBar;->setEnabled(Z)V

    :cond_3
    :goto_0
    const/4 v1, -0x1

    if-eq v2, v1, :cond_4

    .line 11
    iput v2, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->Q:I

    .line 12
    :cond_4
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->y:Landroid/widget/TextView;

    if-eqz v1, :cond_5

    .line 13
    invoke-virtual {p0, v2}, Lcom/estrongs/android/pop/esclasses/f;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 14
    :cond_5
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->z:Landroid/widget/TextView;

    if-eqz v1, :cond_6

    .line 15
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/f;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_6
    return v0

    :cond_7
    :goto_1
    return v1
.end method

.method public getLayoutId()I
    .locals 1

    const v0, 0x7f0c0360

    return v0
.end method

.method public synthetic h()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->y:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 2
    iget v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->Q:I

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/esclasses/f;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->z:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 4
    iget v1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->Q:I

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/esclasses/f;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    const-string v0, "media_player_page"

    sparse-switch p1, :sswitch_data_0

    goto :goto_0

    .line 2
    :sswitch_0
    sget p1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x17

    if-ge p1, v1, :cond_0

    const p1, 0x7f110b17

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    return-void

    .line 4
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->m()V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->O:Ljava/lang/String;

    const-string v1, "speed_switch"

    invoke-static {v0, v1, p1}, Lcom/estrongs/android/statistics/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 6
    :sswitch_1
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->q()Z

    move-result p1

    if-eqz p1, :cond_1

    const/4 p1, 0x0

    .line 7
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->c(Z)V

    goto :goto_0

    .line 8
    :sswitch_2
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->j()V

    goto :goto_0

    .line 9
    :sswitch_3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/n;->g()V

    goto :goto_0

    .line 10
    :sswitch_4
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->b()V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->O:Ljava/lang/String;

    const-string v1, "next"

    invoke-static {v0, v1, p1}, Lcom/estrongs/android/statistics/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 12
    :sswitch_5
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->j()V

    goto :goto_0

    .line 13
    :sswitch_6
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->g()V

    goto :goto_0

    .line 14
    :sswitch_7
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->M:Ljava/lang/String;

    invoke-interface {p1, v0}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 15
    :sswitch_8
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController$b;->m()V

    :cond_1
    :goto_0
    return-void

    :sswitch_data_0
    .sparse-switch
        0x7f09026b -> :sswitch_8
        0x7f09026c -> :sswitch_7
        0x7f09026d -> :sswitch_6
        0x7f0905c6 -> :sswitch_5
        0x7f0905c8 -> :sswitch_4
        0x7f0905cc -> :sswitch_3
        0x7f0905cf -> :sswitch_2
        0x7f090713 -> :sswitch_1
        0x7f090b00 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->R:Les/fj;

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p1}, Les/fj;->a()V

    :cond_0
    return-void
.end method

.method public setControllerListener(Lcom/estrongs/android/pop/esclasses/ESVideoController$b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->L:Lcom/estrongs/android/pop/esclasses/ESVideoController$b;

    return-void
.end method

.method public setFrom(Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->O:Ljava/lang/String;

    return-void
.end method

.method public setPlayState(I)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/f;->setPlayState(I)V

    const/4 v0, 0x3

    const/4 v1, 0x0

    if-eq p1, v0, :cond_2

    const/4 v0, 0x4

    const v2, 0x7f0805d7

    if-eq p1, v0, :cond_1

    const/4 v0, 0x5

    if-eq p1, v0, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 3
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->a(I)V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->x:Landroid/widget/SeekBar;

    const/16 v0, 0x64

    invoke-virtual {p1, v0}, Landroid/widget/SeekBar;->setProgress(I)V

    const/4 p1, 0x1

    .line 5
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->c(Z)V

    .line 6
    new-instance p1, Lcom/estrongs/android/pop/esclasses/c;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/esclasses/c;-><init>(Lcom/estrongs/android/pop/esclasses/ESVideoController;)V

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 9
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/ESVideoController;->G:Landroid/widget/ImageView;

    const v0, 0x7f0805d6

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 10
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->f()V

    .line 11
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/esclasses/ESVideoController;->c(Z)V

    :goto_0
    return-void
.end method
